package com.kkwrite.regimen.provider.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by lisha on 2018/7/21 21:40.
 *
 * @author lisha
 */
@Entity
@Table(name = "reg_param")
@Getter
@Setter
@ToString(callSuper = true)
public class RegParamDO extends BaseDO {
    private static final long serialVersionUID = 8437879783883494976L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer paramId;
    @Column(name = "param_type")
    private Short type;
    @Column(name = "param_key", length = 100)
    private String key;
    @Column(name = "param_value", length = 500)
    private String value;
    @Column(name = "param_order")
    private Double order;
    @Column(name = "description", length = 200)
    private String description;

}
